package com.mt.mtyx.product.service;

import com.aliyuncs.exceptions.ClientException;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author WMT
 * @Date 2023/7/20 18:01
 */
public interface FileUploadService {

    /**
     * 上传文件
     *
     * @param file 文件
     * @return 文件路径
     */
    String upload(MultipartFile file) throws Exception;
}
